import xadmin
from message_backup.models import SendResult


class SendResultAdmin(object):
    list_display = ('id','sign_name','template','mobile_len','message','code','create_time','companyinfo')
    list_filter = ['sign_name','template','message','code','create_time']
    list_per_page = 20
    model_icon = 'fa fa-floppy-o'

xadmin.site.register(SendResult,SendResultAdmin)